
/* 
 * templateName: one
 * @author: web唐明明
 * @time: 2021年10月11日 21点46分
 * @version 1.0.0 
 */

body{
    font-size: 14px;
    padding: 0;
    margin: 0;
}

a{
    display: block;
}

input{  
	outline: none;
}

.mian{
    overflow: hidden;
}

/* 兼容pc */
@media screen and (min-width: 640px){
    .mian{
        margin: 0 auto;
        max-width: 580px;
        min-height: 100vh;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-box-pack: center;
    }
}

/* 公共裁剪 */
.ellipsis {
    max-width: 100%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.ellipsis-2{
	max-width: 100%;
	display: -webkit-box;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

/* 背景图 */
.content-back{
    position: fixed;
    width: 100%;
    height: 100vh;
    vertical-align: top;
    top: 0;
    left: 0;
    z-index: -1;
    background-size: cover;
    background-position: center;
}

/* banner */
.banner{
    padding: 15px;
}

.banner-img{
    width: 100%;
    padding-top: 43%;
    background-position: center;
    background-size: cover;
    border-radius: 10px;
}

.banner-img a{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-img a::after{
    display: none;
}

.banner .swiper-pagination-bullets{
    bottom: 3px;
}

.banner .swiper-pagination-bullet{
    height: 6px;
    width: 6px;
    border-radius: 3px;
    background: white;
    opacity: 1;
    margin: 0 5px;
}

.banner .swiper-pagination-bullet-active{
    background: white;
    width: 14px;
    border-radius: 3px;
}

/* 通知公告 */
.notice{
    position: relative;
    padding-bottom: 15px;
    border-bottom: solid 1px white;
    margin: 0 15px;
    font-size: 12px;
    color: white;
    line-height: 15px;
    text-shadow: 1px 2px 8px rgba(5, 0, 17, 0.3);
    min-height: 30px;
}

.notice img{
    width: 28px;
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    visibility: top;
}

.notice p{
    margin: 0;
    padding-left: 38px;
}

/* 快速入口 */
.fast-box{
    padding: 15px 10px;
    display: flex;
}

.fast-item{
    width: 50%;
    border-radius: 5px;
    margin: 0 5px;
    box-sizing: border-box;
    position: relative;
}

.fast-back{
    width: 100%;
    padding-top: 47%;
    display: block;
    background-position: center;
    background-size: cover;
}

.fast-text{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 15px;
}

.fast-text * {
    margin: 0;
}

.fast-text h4{
    margin-bottom: 6px;
    font-size: 15px;
}

.fast-text p{
    font-size: 12px;
    color: #8F8F8F;
}

/* 统计信息 */
.total{
    position: relative;
    background: white;
    line-height: 48px;
    border-radius: 24px;
    margin: 0 15px;
    border: 1px solid #D4A7FD;
    box-shadow: 0px -6px 10px 0px rgba(225, 225, 225, 0.1);
    color: #976FFF;
    font-size: 11px;
    padding: 0 15px;
}

.total-covers{
    position: absolute;
    left: 15px;
    top: 50%;
    margin-top: -14px;
    width: 60px;
    display: flex;
}

.total-cover-item{
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
}

.total-cover-item:last-child{
    margin-left: -7px;
}

.total-text{
    padding-left: 65px;
}

/* tool */
.tool-box{
    padding: 15px 10px;
    display: flex;
}

.tool-item{
    position: relative;
    width: 33.33%;
    margin: 0 5px;
    background: white;
    border-radius: 12px;
    padding: 15px;
    font-size: 13px;
    overflow: hidden;
}

.tool-item::before{
    position: absolute;
    left: -15px;
    top: -15px;
    content: " ";
    width: 60px;
    height: 60px;
    border-radius: 50%;
    opacity: .1;
    z-index: 0;
}

.tool-item:nth-child(1)::before{
    background: #FE8B69;
}

.tool-item:nth-child(2)::before{
    background: #9870FF;
}

.tool-item:nth-child(3)::before{
    background: #61BDFA;
}

.tool-icon{
    position: relative;
    z-index: 1;
    width: 28px;
    height: 28px;
    vertical-align: top;
    margin: 0;
}

.tool-text{
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #181818;
}

.tool-text i{
    font-size: 16px;
    color: gray;
}

/* swiper */
.swiper-box{
    padding: 0 15px 20px;
}

.swiper-box .swiper-wrapper{
    height: 94px;
    
}

.swiper-user{
    width: 100%;
    border-radius: 10px;
    padding: 15px;
    box-sizing: border-box;
    box-shadow: 0 2px 2px 0 rgba(254, 130, 152, 0.5);
    border-radius: 10px;
    background-image: linear-gradient(to right, #ff8198, #f8d97a);
}

.swiper-user-content{
    padding-left: 79px;
    position: relative;
    min-height: 64px;
    color: white;
}

.swiper-user-cover{
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border:solid 3px white;
    background-size: cover;
    background-position: center;
}

.swiper-user-nickname{
    font-size: 16px;
    line-height: 24px;
}

.swiper-user-tags{
    font-size: 10px;
    padding: 2px 0;
}

.swiper-user-tags span{
    height: 16px;
    line-height: 16px;
    background: #FFD6D6;
    display: inline-block;
    padding: 0 8px;
    border-radius: 10px;
    margin-right: 5px;
}

.swiper-user-tags span:last-child{
    margin-right: 0;
}

.swiper-user-tags span > i{
    margin-right: 4px;
    font-size: 10px;
}

.swiper-user-sign{
    font-size: 12px;
    line-height: 20px;
}

/* 弹出层 */
.lay-modal{
    background: white;
    padding: 15px;
    border-radius: 10px 10px 0 0;
}

.lay-modal-title{
    position: relative;
    line-height: 32px;
    padding: 0 32px;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
}

.lay-modal-remove{
    position: absolute;
    left: 0;
    top: 0;
    font-size: 14px;
    width: 32px;
    text-align: center;
}

.lay-modal-form{
    border:solid 2px #000;
    margin: 20px 0;
    border-radius: 10px;
    padding: 5px;
}

.lay-modal-ul{
    padding: 0;
    margin: 0;
    list-style: none;
}

.lay-modal-ul li{
    position: relative;
    padding-left: 100px;
    border-bottom: solid 1px #F7F7F7;
    min-height: 40px;
}

.lay-modal-ul li:last-child{
    border: none;
}

.lay-modal-ul li label.lay-modal-form-label{
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    line-height: 40px;
    padding-left: 10px;
}

.lay-modal-ul li label.lay-modal-form-label > span{
    color: red;
}

.lay-modal-form-radio{
    margin-top: 5px;
    margin-right: 10px;
}

.lay-modal-form-radio>input:checked+label:before{
    border-color: #02B313;
}

.lay-modal-form-radio>input:checked+label:after{
    background-color: #02B313;
}

.lay-modal-form-select{
    padding: 5px 0;
}

.lay-modal-form-select:not(.multiple):after{
    top: 50%;
    margin-top: -.15rem;
}

.lay-modal-form-select > select{
    border: none;
}

.lay-modal-form-input{
    height: 40px;
    font-size: 14px;
    border: none;
}

.lay-modal-form-inputs{
    display: flex;
    padding: 5px 0;
    align-items: center;
}

.lay-modal-form-inputs > input.input{
    width: 70px;
    text-align: center;
    border-radius: 6px;
    font-size: 13px;
    border-color: #D3D3D3;
}

.lay-modal-form-inputs span{
    color: #FE8BBB;
    padding: 0 10px;
}

.lay-modal-form-inputs > input.input::placeholder{
    font-size: 13px;
}

.lay-modal-form-input::placeholder{
    font-size: 14px;
}

.lay-modal-form-checkbox{
    padding: 9px 0;
}

.lay-modal-form-checkbox>input{
    display: none;
}

.lay-modal-form-checkbox>input + label{
    border:solid 2px #AFAFAF;
    display: inline-block;
    height: 22px;
    line-height: 18px;
    box-sizing: border-box;
    font-size: 10px;
    position: relative;
    padding-left: 22px;
    padding-right: 5px;
    border-radius: 11px;
    color: #AFAFAF;
}

.lay-modal-form-checkbox>input + label::before{
    position: absolute;
    left: 1px;
    top: 1px;
    height: 16px;
    width: 16px;
    content: " ";
    border-radius: 50%;
    background: #AFAFAF;
}

.lay-modal-form-checkbox>input:checked + label{
    border:solid 2px #02B313;
    padding-left: 5px;
    padding-right: 22px;
    color: #02B313;
}

.lay-modal-form-checkbox>input:checked + label::before{
    background: #02B313;
    left: calc(100% - 17px);
}

.lay-modal-form-tabs{
    padding: 0;
    text-align: center;
}

.lay-modal-form-tabs a{
    display: inline-block;
    height: 32px;
    width: 90px;
    line-height: 32px;
    color: #AFAFAF;
    font-size: 16px;
    margin: 5px;
    border-radius: 6px;
}

.lay-modal-form-tabs a::after{
    display: none;
}

.lay-modal-form-tabs a.active{
    background: #FE8BBB;
    color: white;
}

.upd-cover{
    text-align: center;
    padding: 20px 0;
}

.upd-cover-input{
    position: relative;
    display: inline-block;
    background: url(../imgs/upd-cover.png) no-repeat center;
    background-size: cover;
    height: 64px;
    width: 64px;
    line-height: 64px;
    border-radius: 50%;
    overflow: hidden;
}

.upd-cover-input i{
    color: white;
    font-size: 20px;
}

.upd-cover-input > input,
.upd-cover-input > span{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.upd-cover-input > input{
    opacity: 0;
    z-index: 2;
}

.upd-cover-input > span{
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.lay-modal-btn{
    padding-bottom: 30px;
    text-align: center;
}

.lay-modal-btn button{
    width: 100px;
    height: 35px;
    background-image: url(../image/lay-modal-btn.png);
    background-size: cover;
    background-position: center;
    padding-bottom: 5px;
    color: white;
    font-weight: bold;
    border: none;
    background-color: transparent;
}

/* 订单查询 */
.order-notice{
    margin: 20px 15px;
    border-radius: 10px;
    border: solid 2px rgba(241, 224, 151, .4);
    background: rgba(255, 255, 255, .5);
    padding: 15px;
}

.order-notice-title{
    text-align: center;
}

.order-notice-title img{
    width: 88px;
    margin: 0;
    vertical-align: top;
}

.order-notice-text{
    margin: 10px 0;
    color: #313030;
    font-size: 12px;
    line-height: 15px;
}

.order-notice-submit{
    color: #976FFF;
    font-size: 12px;
    text-align: center;
}

.order-form{
    background: white;
    border-radius: 10px;
    margin: 20px 15px;
    padding: 15px;
    box-sizing: border-box;
    border: 6px solid transparent;
    border-image:url(../image/order_header_bg.png) 12 12 round;
}

.order-form-title{
    color: #333;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 15px;
}

.order-form-title img{
    vertical-align: middle;
    margin-right: 5px;
    margin-bottom: 0;
    width: 16px;
}

.order-form-input{
    height: 40px;
    border-radius: 5px;
    border: none;
    padding: 0 15px;
    font-size: 14px;
    background: rgba(251, 114, 159, .15);
    width: 100%;
}

.order-form-input::placeholder{
    color: #FBC1D4;
}

.order-form-btn{
    text-align: center;
    margin-top: 15px;
}

.order-form-btn button{
    background-image: url(../image/order_btn.png);
    background-color: transparent;
    background-size: cover;
    border: none;
    width: 103px;
    height: 34px;
    padding-bottom: 6px;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.order-hint{
    position: relative;
    background: white;
    border-radius: 10px;
    margin: 30px 15px 20px;
    padding: 0;
    padding-top: 32px;
}

.hint-title{
    background-image: url(../image/order_title_bg.png);
    background-position: center;
    background-size: cover;
    height: 43px;
    line-height: 43px;
    text-align: center;
    width: 280px;
    margin-left: -140px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: -11px;
    left: 50%;
}

.hint-content{
    padding: 20px;
}

.hint-content img{
    vertical-align: top;
    max-width: 100%;
    margin: 0;
}

/* 摆摊赚钱 */
.stall-banner{
    width: 100%;
    vertical-align: top;
    margin: 0;
}

.stall-block{
    margin: 0 15px;
    position: relative;
}

.stall-block-footer,
.stall-block-header{
    vertical-align: top;
    margin: 0;
}

.stall-block-cntent{
    background: white;
    margin: -5px 2.8% 0;
    padding: 15px;
    box-sizing: border-box;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, .1);
}

.stall-block-footer{
    margin-top: -1px;
}

.stall-rule-content{
    padding: 15px 0;
    font-size: 12px;
    color: #333;
}

.stall-rule-content b{
    color: #FE8BBB;
}

.stall-rule-title{
    position: relative;
    color: #FE8BBB;
    text-align: center;
}

.stall-rule-title span{
    border: solid 1px #FE8BBB;
    line-height: 30px;
    border-radius: 15px;
    display: inline-block;
    width: 100px;
}

.stall-rule-title::before,
.stall-rule-title::after{
    top: 50%;
    position: absolute;
    content: " ";
    height: 1px;
    background: #ff8198;
    width: 20%;
}

.stall-rule-title::before{
    right: calc(50% + 60px);
}

.stall-rule-title::after{
    left: calc(50% + 60px);
}

.stall-rule-hint{
    text-align: center;
    color: #976FFF;
    font-size: 14px;
    font-weight: bold;
}

.stall-user-title{
    text-align: center;
    width: 200px;
    height: 38px;
    line-height: 34px;
    background-image: url(../image/stall_title_bg.png);
    background-size: cover;
    color: white;
    font-size: 15px;
    margin: 0 auto;
}

.stall-user-nickname{
    padding: 15px;
    text-align: center;
    font-size: 17px;
    color: #333333;
    font-weight: bold;
    border-bottom: solid 1px #F7F7F7;
}

.stall-user-account{
    padding-top: 15px;
    text-align: center;
    width: 100%;
}

.stall-user-account p,
.stall-user-account h4{
    margin: 0;
}

.stall-user-account p{
    line-height: 20px;
    color: #AFAFAF;
    margin-bottom: 10px;
}

.stall-user-account h4{
    font-weight: bold;
    font-size: 20px;
    line-height: 20px;
    color: #FE8BBB;
}

.stall-user-account a{
    background: #FE8BBB;
    width: 100px;
    line-height: 30px;
    border-radius: 15px;
    color: white;
    font-size: 14px;
    margin-top: 20px;
    display: inline-block;
}

.stall-user-out{
    padding-top: 30px;
    text-align: center;
    color: #FE8BBB;
    line-height: 30px;
}

.stall-user-out span{
    padding: 0 20px;
    display: inline-block;
    text-decoration: underline;
}

.stall-codes{
    padding: 10px 15px 30px;
}

.stall-codes-tabs{
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.stall-codes-tabs a{
    display: inline-block;
    line-height: 34px;
    flex: 1;
    border-radius: 17px;
    font-size: 16px;
}

.stall-codes-tabs a::after{
    display: none;
}

.stall-codes-tabs a.active{
    background: white;
    color: #FE8BBB;
}

.stall-codes-content{
    padding-top: 15px;
}

.stall-code-img{
    vertical-align: top;
    max-width: 100%;
}

/* 弹出层 */
.layer-hello{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.layer-hello > .layui-m-layerbtn{
    text-align: center;
    margin: 15px;
    width: auto;
    background: rgba(152, 112, 255, .2);
    border: 0;
    border-radius: 10px;
    height: 42px;
    line-height: 42px;
    padding: 0;
    border:solid 1px rgba(152, 112, 255, 1);
}

.layer-hello > .layui-m-layerbtn span[yes]{
    color: rgba(152, 112, 255, 1);
    font-weight: bold;
}

.layer-hello-title{
    position: relative;
    padding: 10px 15px;
    text-align: center;
    line-height: 40px;
    font-size: 16px;
    font-weight: bold;
}

.layer-hello-content{
    line-height: 20px;
    padding: 0 15px 15px;
    color: #333;
}

